package com.cnap.multiclouldmgmt.model.dockerHarborModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author dyq
 * harbor 操作model
 */
@ApiModel(value = "com.cnap.multiclouldmgmt.model.dockerHarborModel.CredentialModel",description = "注册仓库要用到的信息")
public class CredentialModel {

    //Access_key
    @ApiModelProperty(value = "Access_key")
    private String access_key;

    //access_secret
    @ApiModelProperty(value = "access_secret")
    private String access_secret;

    //type
    @ApiModelProperty(value = "type")
    private String type = "basic";

    /**
     * get
     *
     * @return Access_key
     */
    public String getAccess_key() {
        return access_key;
    }

    /**
     * set
     *
     * @param access_key access_key
     */
    public void setAccess_key(String access_key) {
        this.access_key = access_key;
    }

    /**
     * get
     *
     * @return Access_secret
     */
    public String getAccess_secret() {
        return access_secret;
    }

    /**
     * set
     *
     * @param access_secret access_secret
     */
    public void setAccess_secret(String access_secret) {
        this.access_secret = access_secret;
    }

    /**
     * get
     *
     * @return Type
     */
    public String getType() {
        return type;
    }

    /**
     * set
     *
     * @param type type
     */
    public void setType(String type) {
        this.type = type;
    }
}
